import { PalBattleHero, PalBattleHeroOriginData, PalBattleSystem } from "../../scripts/PalBattleSystem";
import { SkillEnum } from "../skill/SkillEnum";
import { HeroEnum } from "./HeroEnum";

export const hero_001_李逍遥: PalBattleHeroOriginData = {
    heroID: HeroEnum.李逍遥,
    name: '李逍遥',
    hp: 150,
    mp: 100,
    武术: 22,
    灵力: 20,
    防御: 29,
    身法: 31,
    吉运: 32,
    levelUp: {
        武术: 0,
        灵力: 0,
        防御: 0,
        身法: 0,
        吉运: 0,
    },
    setup: (args: {
        hero: PalBattleHero;
        system: PalBattleSystem;
    }) => {
        args.system.pushSkill(args.hero.saveData.UUID, SkillEnum.气疗术);
        if (args.hero.saveData.level >= 10) {
            args.system.pushSkill(args.hero.saveData.UUID, SkillEnum.五气朝元);
        }
    }
}